package com.imufe.chemicalenterprisedangerwarning.service;

import com.imufe.chemicalenterprisedangerwarning.entity.po.UserRolePO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.RoleVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author BaiBan
 * @since 2022-10-11
 */
public interface UserRoleService extends IService<UserRolePO> {

    /**
     * 根据用户id获取角色id
     * @return 角色id
     */
    Long getRoleIdByUserId(Long userId);
}
